// BcmLib.h
//
// Header file for BcmLib.c
//
// Based on the example code provided by Mike McCauley at
// http://www.open.com.au/mikem/bcm2835
//
// Author: Daniel Hearn
// Date: 23 Feb 2013

#ifndef BCMLIB_H
#define BCMLIB_H
#include <bcm2835.h>
#include <stdio.h>

//****************************************************************************/
//	Prototypes
//****************************************************************************/
int initMySpi(uint8_t *csPins, int len);
void mySpiTransfer(char *tbuf, char *rbuf, uint32_t len, uint8_t cs);

#endif
